package com.ruoyi.jiaopei.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课节学员业务对象 tb_kj_student
 *
 * @author macy
 * @date 2024-04-03
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TbKjStudentBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 班级ID
     */
    @NotNull(message = "班级ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long classId;
    private String className;

    /**
     * 课节ID
     */
    @NotNull(message = "课节ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long kjId;
    private String kjName;

    /**
     * 学员ID
     */
    @NotNull(message = "学员ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long studentId;
    private String studentName;

    /**
     * 课时
     */
    @NotNull(message = "课时不能为空", groups = {  EditGroup.class })
    private BigDecimal lessonHours;

    /**
     * 签到状态 1=未签到 2=已签到 3=已请假
     */
    @NotBlank(message = "签到状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    /**
     * 签到照片
     */
    private String photo;

    /**
     * 签到时间
     */
    private Date signDate;

    /**
     * 创建时间
     */
    @NotNull(message = "创建时间不能为空", groups = { EditGroup.class })
    private Date createdDate;



    /**
     * 课程ID
     */
    private Long curriculumId;

    /**
     * 开始日期
     */
    private String startDate;


}
